<Br>
<%=start_form_tag({:controller => 'users',:action => :mphoto1,:id=>logged_in_user.id},{:multipart => true})  %>

<Br>
Your photo: <%= file_field "file","datafile"   %> 
<Br>
<%=submit_tag("Upload your photo")%>
<%=end_form_tag %> 